import net.sf.json.JSONObject;

import java.util.Iterator;

public class ParseTable {
    public static void main(String[] args) {
        JSONObject obj=JSONObject.fromObject("{\"idNo\":\"331081198905122419\",\"merId\":\"847440363000002\",\"phoneNo\":\"18627425452\",\"proxyCode\":\"zf\",\"settAcct\":\"6212261202008319254\",\"settAcctName\":\"赵洪波\",\"signature\":\"536f4c4cce2b3ded0772f1e7310993dd1816fbd7f419231ce1b4e32f80d6ad07\",\"subMchId\":\"888843588999811\",\"txnType\":\"05\"}");
        System.out.println(obj);
        System.out.println("字段 | 值 | 说明\n" +
                "--- | -- | --");
        Iterator<String> it=obj.keys();
        while (it.hasNext()){
            String key=it.next();
            System.out.println(key+" | "+obj.getString(key));
        }
    }
}
